package com.whynot.frame.ms.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.whynot.frame.ms.entities.SysDept;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * 描    述:数据库层：部门接口
 * 创建时间: 2018/06/20
 */
public interface DeptMapper extends BaseMapper<SysDept>{

    List<SysDept> getDeptRoots(SysDept dept);

    List<SysDept> getDeptChildrens(SysDept dept);

}